while 1 == 1:
    i = int(input("请输入利润金额:"))
    print("利润：", i, "万")
    if i <= 10:
        a = i * 0.1
    elif i > 10 and i < 20:
        a = 10 * 0.1 + (i - 10) * 0.075
    elif i > 20 and i < 40:
        a = 10 * 0.1 + (20 - 10) * 0.075 + (i - 20) * 0.05
    elif i > 60 and i < 100:
        a = a = 10 * 0.1 + (20 - 10) * 0.075 + (40 - 20) * 0.05 + (i -
                                                                   60) * 0.015
    elif i > 100:
        a = a = 10 * 0.1 + (20 - 10) * 0.075 + (40 - 20) * 0.05 + (
            100 - 60) * 0.015 + (i - 100) * 0.01
    print("奖金", a, "万元")
